package com.mdhw.common.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: amoyiki
 * @date: 2022/3/25
 */
@Data
public class BaseQuery {
    @ApiModelProperty(value = "pageNo")
    private Integer pageNo = 1;
    @ApiModelProperty(value = "pageSize")
    private Integer pageSize = 20;
    @ApiModelProperty(value = "要排序字段 如：id ")
    private String sortBy;
    @ApiModelProperty(value = "排序方式 desc 降序/asc 升序")
    private String orderBy;
}
